* {
    margin: 0%;
    padding: 0%;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    font-family: sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

/*INDEX*/
/*-----*/
a {
    text-decoration: none;
}

nav {
    position: relative;
    margin: auto;
    width: 75%;
    height: 84px;
    /*background: rgba(255, 255, 0, .5);*/
}

nav ul {
    position: absolute;
    top: 28px;
    left: 0px;
    width: 700px;
    height: 27px;
    /*background: rgba(255, 0, 255, .5);*/
}

nav ul li {
    float: left;
    width: 7.8125em; /* 125px / 16 px */
    /*padding: 0 2em;*/
    line-height: 28px;
    text-align: center;
    font-size: 1em; /* 16px / 16 px */
}

nav a {
    color: #A0A0A0;
    transition: all 0.8s ease 0s;
}

nav a:hover {
    color: black;
}

nav a:active {
    color: black;
    font-weight: 500;
}

#logo {
    position: relative;
    top: 28px;
    float: right;
    width: 280px;
    line-height: 28px;
    text-align: center;
    /*font-size: 1.5em !important; /* 24 px / 16 px */
    /*background: rgba(0,50,255, .5);*/
}

#hero {
    position: relative;
    margin: auto;
    width: 100vw;
    height: 50vh;
    /*height: 482px;*/
    /*background-color: aquamarine;*/
    /*background-image: url("img\cabiro_hero_low.jpg");
    background-repeat: no-repeat;
    min-height: 100%;*/
}

#hero img {
    width: 100vw;
    min-height: 100%;
}

.hero_xs {
    display: none;
}

.hero_md {
    display: none;
}

.hero_xl {
    display: block;
}

#line {
    position: relative;
    width: 100%;
    border-top: 1.4px solid #A0A0A0;
    box-shadow: 0px 1px 2px 1px rgb(197, 197, 197);
    -webkit-box-shadow: 0px 1px 2px 1px rgb(197, 197, 197);
    -moz-box-shadow: 0px 1px 2px 1px rgb(197, 197, 197);
}

/*INDEX END*/
/*---------*/



/*VIVI*/
/*----*/

#profile {
    position: relative;
    margin: auto;
    margin-top: 50px;
    width: 70%;
    height: auto;
    /*background: rgba(0,50,255, .5);*/
}

#profile_foto {
    margin-top: 20px;
    margin-right: 50px;
    margin-bottom: 50px;
    float: left;
    max-width: 46%;
    height: auto;
}


#profile ul li p {
    text-align: center;
    padding: 20px;
    line-height: 1.875em;
    font-size: 1em; /* 16px / 16 px */
    font-weight: 300;
}

#profile ul li h2 {
    text-align: left;
    font-weight: 500;
    font-size: 1.125em; /* 18px / 16 px */
    margin-top: 0px;
    margin-bottom: 10px;
}

#profile ul li li {
    width: 100%;
    line-height: 25px;
    font-size: 0.875em; /* 14px / 16 px */
}

/*VIVI END*/
/*--------*/


/*GALERIA*/
/*-------*/


.galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 25vw);
    grid-gap: 2px;
    margin-top: 1px;
    height: auto;
    /*background: rgba(0,50,255, .5);*/
}

.galeria_img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .7s ease;
    -webkit-transition: .7s ease;
    -moz-transition: .7s ease;
    -ms-transition: .7s ease;
    -o-transition: .7s ease;
    /*background: rgba(5, 0, 3, 0.5);*/
}

.galeria_img:hover {
    opacity: 0.3;
    transition: .7s ease;
    -webkit-transition: .7s ease;
    -moz-transition: .7s ease;
    -ms-transition: .7s ease;
    -o-transition: .7s ease;
}

.epigrafe {
    transition: .5s ease;
    opacity: 0;
    /*background: rgba(67, 226, 27, 0.5);*/
}

figure:hover .epigrafe {
    opacity: 1;
}

figcaption {
    position: relative;
    text-align: center;
    top: -55%;
    font-size: 1.875em; /* 30px / 16 px */
    pointer-events: none;
}

/*GALERIA END*/
/*-----------*/


/*CONTACTO*/
/*--------*/

#contacto {
    position: relative;
    margin: auto;
    margin-top: 100px;
    width: 60%;
    height: auto;
    /*background: rgba(0,50,255, .5);*/
}

#contacto form {
    position: relative;
    width: 100%;
    height: 40vh;
    /*border-bottom: 1px solid rgb(0, 0, 0);*/
    /*background: rgba(165, 37, 20, 0.63);*/
}

#contacto form input {
    position: relative;
    display: block;
    width: 38%;
    padding: 1em;
    margin-left: 25px;
    margin-bottom: 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7em;
    border: 1px solid #A0A0A0;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
}

#contacto form textarea {
    position: absolute;
    top: 0;
    right: 25px;
    padding: 1.3em;
    width: 48%;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7em;
    border: 1px solid #A0A0A0;
    border-radius: 0px;
    outline: none;
    resize: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
}

#contacto button {
    position: absolute;
    top: 180px;
    right: 25px;
    width: 80px;
    height: 20px;
    border: 1px solid #A0A0A0;
    margin-top: 10px;
    background-color: white;
    transition: 0.5s;
    border-radius: 0px;
    margin-bottom: 12px;
    outline: none;
    resize: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
}

#contacto button:hover {
    background-color: rgb(224, 224, 224);
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

#contacto button:active {
    background-color: rgb(156, 156, 156);
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

.error {
    position: relative;
    padding: 3em;
    color: red;
    font-size: 0.7em;
}


/*CONTACTO END*/
/*------------*/


/*RESONANCIAS+VISLUMBRES+REFLEJOS----*/
/*-----------------------------------*/

.gal_intro {
    position: relative;
    margin: auto;
    width: 40%;
    padding: 3%;
    text-align: center;
    line-height: 1.875em; /* 30px / 16px */
}

.gal_intro p {
    font-size: 1em;
    font-weight: 300;
}

.gal_intro cite {
    font-weight: 400;
    float: right;
}

.gal_sub {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 25vw);
    /*background: rgba(0,50,255, .5);*/
}



/*RESONANCIAS+VISLUMBRES+REFLEJOS END*/
/*-----------------------------------*/


/*----FOOTER----*/
/*--------------*/

footer {
    display: relative;
    text-align: center;
    width: 100%;
    height: 1.5em;
    border-top: 1px solid rgb(0, 0, 0);
    /*background: rgba(0,50,255, .5);*/
}


footer p {
    font-weight: 300;
    /*background: rgba(165, 37, 20, 0.63);*/
}

footer a:hover,
a:visited,
a:link,
a:active {
    text-decoration: none;
    font-size: 1em; /* 16px / 16 px */
    color: #A0A0A0;
    font-weight: 300;
}



/*----FOOTER-------*/
/*----FOOTER END---*/


/*BREAKPOINTS*/

@media screen and (max-width: 480px) {
    body {
        font-size: 0.94em;
    }
    
    nav {
        width: 100%;
        height: 126px;
        /*background: rgba(255, 255, 0, .5);*/
    }

    nav ul {
        position: relative;
        margin: auto;
        top: 75px;
        left: 0px;
        width: 100%;
        /*background: rgba(255, 0, 255, .5);*/
    }

    nav ul li {
        float: left;
        left: 0;
        width: 22.5%;
    }

    #logo {
        position: relative;
        top: 0px;
        left: 0px;
        margin: auto;
        float: none;
        width: 280px;
        line-height: 28px;
        /*background: rgba(0,50,255, .5);*/
    }

    #hero {
        position: relative;
        margin: auto;
        width: 100%;
        /*height: 482px;*/
        /*min-height: 300px;*/
    }
/*
    #hero img {
        display: none;
        top: 0px;
        left: 0px;
        width: 100%;
    }*/

    #hero img {
        position: relative;
       /* left: -50%;
        width: 200vw;*/
    }

    .hero_xs {
        display: block;
    }
    
    .hero_md {
        display: none;
    }
    
    .hero_xl {
        display: none;
    }


    .gal_intro {
        width: 90%;
    }

    .galeria {
        grid-template-columns: none;
        grid-template-rows: repeat(3, 30%);
        grid-gap: 2px;
        margin-top: 2px;
        /*background: rgba(0,50,255, .5);*/
    }

    .gal_sub {
        grid-template-columns: none;
        grid-template-rows: repeat(6, 15%);
        /*background: rgba(0,50,255, .5);*/
    }

    #profile {
        width: 80%;
        height: 100vh;
        /*background: rgba(0,50,255, .5);*/
    }

    #profile_foto {
        display: block;
        float: none;
        margin: auto;
        max-width: 100%;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 30px;
    }

    #profile ul li p {
        padding: 8px;
        margin-bottom: 30px;
    }

    #contacto {
        position: relative;
        margin: auto;
        margin-top: 60px;
        width: 80%;
        height: 75vh;
        /*background: rgba(0,50,255, .5);*/
    }

    #contacto form {
        width: 100%;
        height: 60vh;
        margin: auto;
        /*border-bottom: 1px solid rgb(0, 0, 0);
        background: rgba(165, 37, 20, 0.63);*/
    }

    #contacto form input {
        position: relative;
        display: block;
        width: 80%;
        margin: 6%;
        margin-bottom: 12px;
    }

    #contacto form textarea {
        position: relative;
        display: block;
        margin: 6%;
        right: 0px;
        width: 78%;
        /*resize: none;*/
    }

    #contacto button {
        position: relative;
        float: right;
        top: 0px;
        right: 0px;
        margin: 10%;
        margin-top: 1em;
        margin-bottom: 0;
    }

   /* footer {
        width: 90%;
    }*/
}



@media screen and (min-width: 481px) and (max-width:576px) {
    nav {
        width: 100%;
        height: 126px;
        /*background: rgba(255, 255, 0, .5);*/
    }

    nav ul {
        position: relative;
        margin: auto;
        top: 75px;
        left: 0px;
        width: 100%;
        /*background: rgba(255, 0, 255, .5);*/
    }

    nav ul li {
        float: left;
        width: 25%;
    }


    .hero_xs {
        display: block;
    }
    
    .hero_md {
        display: none;
    }
    
    .hero_xl {
        display: none;
    }

    #logo {
        position: relative;
        top: 0px;
        left: 0px;
        margin: auto;
        float: none;
        width: 280px;
        line-height: 28px;
        /*background: rgba(0,50,255, .5);*/
    }

    .gal_intro {
        width: 80%;
    }

    .galeria {
        grid-template-columns: none;
        grid-template-rows: repeat(3, 30%);
        grid-gap: 2px;
        margin-top: 2px;
        /*background: rgba(0,50,255, .5);*/
    }

    .gal_sub {
        grid-template-columns: none;
        grid-template-rows: repeat(6, 15%);
        /*background: rgba(0,50,255, .5);*/
        height: auto;
    }

    #profile {
        width: 80%;
        height: 100vh;
        /*background: rgba(0,50,255, .5);*/
    }

    #profile_foto {
        display: block;
        float: none;
        margin: auto;
        max-width: 100%;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 30px;
    }

    #profile ul li p {
        padding: 12px;
        margin-bottom: 30px;
    }


    #contacto {
        position: relative;
        margin: auto;
        margin-top: 60px;
        width: 80%;
        height: 75vh;
        /*background: rgba(0,50,255, .5);*/
    }

    #contacto form {
        width: 100%;
        height: 60vh;
        margin: auto;
        /*border-bottom: 1px solid rgb(0, 0, 0);
        background: rgba(165, 37, 20, 0.63);*/
    }

    #contacto form input {
        position: relative;
        display: block;
        width: 80%;
        margin: 6%;
        margin-bottom: 12px;
    }

    #contacto form textarea {
        position: relative;
        display: block;
        margin: 6%;
        right: 0px;
        width: 79%;
        /*resize: none;*/
    }

    #contacto button {
        position: relative;
        float: right;
        top: 0px;
        right: 0px;
        margin: 10%;
        margin-top: 0px;
        margin-bottom: 0;
    }

    /*footer {
        width: 90%;
    }*/
}

@media screen and (min-width:577px) and (max-width:800px) {
    nav {
        width: 100%;
        height: 126px;
        /*background: rgba(255, 255, 0, .5);*/
    }

    nav ul {
        position: relative;
        margin: auto;
        top: 75px;
        left: 0px;
        width: 100%;
        /*background: rgba(255, 0, 255, .5);*/
    }

    nav ul li {
        float: left;
        width: 25%;
    }

     /*
    #hero img {
        position: relative;
        left: -25%;
        width: 150vw;
    }*/

    .hero_xs {
        display: none;
    }
    
    .hero_md {
        display: block;
    }
    
    .hero_xl {
        display: none;
    }

    #logo {
        position: relative;
        top: 0px;
        left: 0px;
        margin: auto;
        float: none;
        width: 280px;
        line-height: 28px;
        /*background: rgba(0,50,255, .5);*/
    }

    .gal_intro {
        width: 70%;
    }

    .galeria {
        grid-template-columns: none;
        grid-template-rows: repeat(3, 30%);
        grid-gap: 2px;
        margin-top: 2px;
        /*background: rgba(0,50,255, .5);*/
    }

    .gal_sub {
        grid-template-columns: none;
        grid-template-rows: repeat(6, 15%);
        /*background: rgba(0, 50, 255, .5);*/
        height: auto;
    }


    #profile {
        margin-top: 50px;
        width: 70%;
        height: 100vh;
        /*background: rgba(0,50,255, .5);*/
    }

    #profile_foto {
        margin-top: 20px;
        margin-right: 30px;
        margin-bottom: 30px;
    }


    #profile ul li p {
        text-align: center;
        padding: 12px;

    }

    #profile ul li h2 {
        text-align: left;
        font-weight: 500;
        /*font-size: 18px;*/
        margin-top: 0px;
        margin-bottom: 10px;
    }

    #profile ul li li {
        width: 100%;
        line-height: 25px;
        /*font-size: 14px;*/
    }


    #contacto {
        position: relative;
        margin: auto;
        margin-top: 60px;
        width: 80%;
        height: 75vh;
        /*background: rgba(0,50,255, .5);*/
    }

    #contacto form {
        width: 100%;
        height: 60vh;
        margin: auto;
        /*border-bottom: 1px solid rgb(0, 0, 0);
        background: rgba(165, 37, 20, 0.63);*/
    }

    #contacto form input {
        position: relative;
        display: block;
        width: 80%;
        margin: 6%;
        margin-bottom: 12px;
    }

    #contacto form textarea {
        position: relative;
        display: block;
        margin: 6%;
        right: 0px;
        width: 79%;
        /*resize: none;*/
    }

    #contacto button {
        position: relative;
        float: right;
        top: 0px;
        right: 0px;
        margin: 10%;
        margin-top: 0px;
        margin-bottom: 0;
    }

    /*footer {
        width: 90%;
    }*/

}

@media screen and (min-width:801px) and (max-width:992px) {
    nav {
        width: 90%;
        height: 84px;
        /*background: rgba(255, 255, 0, .5);*/
    }

    .hero_xs {
        display: none;
    }
    
    .hero_md {
        display: block;
    }
    
    .hero_xl {
        display: none;
    }

    .gal_intro {
        width: 60%;
    }

    #contacto form input {
        width: 30%;
    }

    #contacto form textarea {
        width: 43%;
    }

    /*footer {
        width: 80%;
    }*/
}

@media screen and (min-width:993px) and (max-width: 1350px) {
    nav {
        height: 84px;
        /*background: rgba(255, 255, 0, .5);*/
    }

    .gal_intro {
        width: 50%;
    }

    #contacto form input {
        width: 33%;
    }

    #contacto form textarea {
        width: 45%;
    }

}

@media screen and (max-height: 600px) {
    footer {
        display: none;
    }
}


/*END-BREAKPOINTS*/
